ef78e47fcb2a6e8a8bf7f8f375fcbd0e85634dba,src/test/java/com/xebialabs/overthere/itest/ItestsBase3Copy.java,ItestsBase3Copy,shouldCopyRemoteFileToExistentRemoteFile,#,115
Before Change
@Test
public void shouldCopyRemoteFileToExistentRemoteFile() {
OverthereFile srcFile = getRemoteSourceFile();
OverthereFile dstFile = getRemoteDestinationFile();
populateSourceFile(srcFile);
populateExistentDestinationFile(dstFile);
srcFile.copyTo(dstFile);
assertSourceFileWasCopiedToDestinationFile(dstFile);
}
After Change
@Test
public void shouldCopyRemoteFileToExistentRemoteFile() {
shouldCopyToExistentFile(getRemoteSourceFile(), getRemoteDestinationFile());
}
@Test